package io.finer.erp.jeecg.bas.entity;

import java.io.Serializable;

import org.jeecg.common.aspect.annotation.Dict;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @Description: 车间任务单工序机器分配
 * @Author: jeecg-boot
 * @Date:   2020-09-02
 * @Version: V1.0
 */
@Data
@TableName("zrk_order_process")
@ApiModel(value="zz_shoporder对象", description="车间任务/订单")
public class ZrkOrderProcess implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ID_WORKER_STR)
	@ApiModelProperty(value = "主键")
	private java.lang.String id;
	/**创建人*/
	@ApiModelProperty(value = "创建人")
	private java.lang.String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "创建日期")
	private java.util.Date createTime;
	/**更新人*/
	@ApiModelProperty(value = "更新人")
	private java.lang.String updateBy;
	/**更新日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
	@ApiModelProperty(value = "更新日期")
	private java.util.Date updateTime;
	/**所属部门*/
	@ApiModelProperty(value = "所属部门")
	private java.lang.String sysOrgCode;
	/**车间任务单*/
    @Dict(dicCode = "id",dicText = "order_name",dictTable = "zz_shoporder")
	@ApiModelProperty(value = "车间任务单")
	private java.lang.String orderId;
	/**工序*/
    @Dict(dicCode = "id",dicText = "device_tpye_name",dictTable = "zz_device_type")
	@Excel(name = "工序", width = 15)
	@ApiModelProperty(value = "工序")
	private java.lang.String processId;
	/**设备*/
    @Dict(dicCode = "id",dicText = "device_name",dictTable = "zz_device")
	@Excel(name = "设备", width = 15)
	@ApiModelProperty(value = "设备")
	private java.lang.String deviceId;
	/**操作员*/
    @Dict(dicCode = "id",dicText = "username",dictTable = "sys_user")
	@Excel(name = "操作员", width = 15)
	@ApiModelProperty(value = "操作员")
	private java.lang.String userId;
    /**是否完成*/
    @Dict(dicCode = "yn")
	@Excel(name = "是否完成", width = 15)
	@ApiModelProperty(value = "是否完成")
	private java.lang.Integer isFinish;
    /**是否冻结*/
	@Excel(name = "是否冻结", width = 15)
	@ApiModelProperty(value = "是否冻结")
    private java.lang.Integer isFrozen;
    /**分切参数*/
	@Excel(name = "分切参数", width = 15)
	@ApiModelProperty(value = "分切参数")
    private java.lang.String fqParams;
    /**分切半成品*/
	@Dict(dicCode = "id",dicText = "name",dictTable = "bas_material_category")
	@Excel(name = "分切半成品", width = 15)
	@ApiModelProperty(value = "分切半成品")
    private java.lang.String fqCategory;
    /**分切长度*/
	@Excel(name = "分切长度", width = 15)
	@ApiModelProperty(value = "分切长度")
    private java.lang.Integer fqLength;
	/**工序编号*/
	@Excel(name = "工序编号", width = 15)
	@ApiModelProperty(value = "工序编号")
	private java.lang.String processCode;
}
